<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <!--CDN 引入-->
    <script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
</head>

<body>

<ul id = "test-ul">
    <li class="js">JavaScript</li>
    <li name="python">Python</li>
</ul>

<script>
   $('#test-ul li[name=python]').text();
   // $('#test-ul').html();

   // $('#test-ul li[name=python]').css({"color":'red'});
   // $('#test-ul li[name=python]').hide();
</script>

</body>
</html>